﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Z13qu.Model
{
    /// <summary>
    /// 系统模块
    /// </summary>
    public class Sys_Module : ICreationAudited, IDeleteAudited, IModificationAudited
    {
        /// <summary>
        /// 模块ID
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 父ID
        /// </summary>
        public string ParentId { get; set; }
        /// <summary>
        /// 模块名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }
        /// <summary>
        /// URL地址
        /// </summary>
        public string UrlAddress { get; set; }
        /// <summary>
        /// 是否为菜单
        /// </summary>
        public bool? IsMenu { get; set; }
        /// <summary>
        /// 是否展开
        /// </summary>
        public bool? IsExpand { get; set; }
        /// <summary>
        /// 允许编辑
        /// </summary>
        public bool? AllowEdit { get; set; }
        /// <summary>
        /// 允许删除
        /// </summary>
        public bool? AllowDelete { get; set; }
        /// <summary>
        /// 排序码
        /// </summary>
        public int? SortCode { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDelete { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool? IsEnable { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatorTime { get; set; }
        /// <summary>
        /// 创建者ID
        /// </summary>
        public string CreatorUserId { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LastModifyTime { get; set; }
        /// <summary>
        /// 修改者ID
        /// </summary>
        public string LastModifyUserId { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 删除者ID
        /// </summary>
        public string DeleteUserId { get; set; }
    }
}
